<?php 


Class CommonAction extends Action{
    public function _initialize()
    {
        if (session(C("SESSION_USER_NAME")) != C("SUPER_ADMIN_NAME")) {
            $this->error('你没有权限！');
        }
    }
}
 ?>